dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5377fc5
)
Bug 29792: notice undefined index 'other' due to my commit r91803
author
Robin Pepermans
<robin@users.mediawiki.org>
Sat, 9 Jul 2011 21:13:57 +0000
(21:13 +0000)
committer
Robin Pepermans
<robin@users.mediawiki.org>
Sat, 9 Jul 2011 21:13:57 +0000
(21:13 +0000)
includes/HTMLForm.php
patch
|
blob
|
history
diff --git
a/includes/HTMLForm.php
b/includes/HTMLForm.php
index
ffa1f4b
..
975ea6c
100644
(file)
--- a/
includes/HTMLForm.php
+++ b/
includes/HTMLForm.php
@@
-1375,7
+1375,7
@@
class HTMLSelectOrOtherField extends HTMLTextField {
function __construct( $params ) {
if ( !in_array( 'other', $params['options'], true ) ) {
- $msg =
$params['other']
? $params['other'] : wfMsg( 'htmlform-selectorother-other' );
+ $msg =
isset( $params['other'] )
? $params['other'] : wfMsg( 'htmlform-selectorother-other' );
$params['options'][$msg] = 'other';
}